package com.gz.moreaseManager.modules.entity;

import com.baomidou.mybatisplus.enums.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;



import com.baomidou.mybatisplus.annotations.Version;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 帮助信息
 * </p>
 *
 * @author wike
 * @since 2019-05-28
 */
@Data
@Accessors(chain = true)
@TableName("assist_info")
public class AssistInfo extends Model<AssistInfo> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "assist_id", type = IdType.AUTO)
    private Integer assistId;

    /**
     * 分类ID
     */
    @TableField("help_id")
    private Integer helpId;
    /**
     * 分类名称
     */
    @TableField(exist = false)
    private String helpName;

    /**
     * 标题
     */
    @TableField("assist_title")
    private String assistTitle;

    /**
     * 浮动广告URL
     */
    @TableField("advert_url")
    private String advertUrl;

    /**
     * 帮助超文本内容
     */
    @TableField("assist_text")
    private String assistText;

    @TableField("create_time")
    private Date createTime;


    @Override
    protected Serializable pkVal() {
        return this.assistId;
    }

}
